<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK C++ API Reference: 概览</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK C++ API Reference
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="PageDoc"><div class="header">
  <div class="headertitle">
<div class="title">概览 </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><ul>
<li><a class="el" href="class_j_c_client.html">JCClient</a> 类用于初始化sdk以及登录 Juphoon Cloud 平台</li>
<li><a class="el" href="class_j_c_client_callback.html">JCClientCallback</a> 用于回调登录相关事件</li>
<li><a class="el" href="class_j_c_media_device.html">JCMediaDevice</a> 类用于管理设备</li>
<li><a class="el" href="class_j_c_media_device_callback.html">JCMediaDeviceCallback</a> 用于回调设备相关事件</li>
<li><a class="el" href="class_j_c_call.html">JCCall</a> 类用于管理一对一通话</li>
<li><a class="el" href="class_j_c_call_callback.html">JCCallCallback</a> 用于回调一对一通话相关事件</li>
<li><a class="el" href="class_j_c_media_channel.html">JCMediaChannel</a> 类用于管理媒体频道</li>
<li><a class="el" href="class_j_c_media_channel_callback.html">JCMediaChannelCallback</a> 用于回调媒体频道相关事件</li>
</ul>
<h3><a class="anchor" id="autotoc_md0"></a>
登录管理</h3>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">方法 </th><th class="markdownTableHeadNone">描述  </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="group___xE7_x99_xBB_xE5_xBD_x95_xE6_xA8_xA1_xE5_x9D_x97.html#ga2d6fc4f203884536ff69bfe0e0ed300f">createJCClient</a> </td><td class="markdownTableBodyNone">创建 <a class="el" href="class_j_c_client.html">JCClient</a> 对象  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="group___xE7_x99_xBB_xE5_xBD_x95_xE6_xA8_xA1_xE5_x9D_x97.html#ga1ffd007a058115a0676a84a7d5f42dbf">destroyJCClient</a> </td><td class="markdownTableBodyNone">销毁 <a class="el" href="class_j_c_client.html">JCClient</a> 对象  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_client.html#af2e726707f53bb0712b5876ca807344f">getServerAddress</a> </td><td class="markdownTableBodyNone">获取登录服务器地址  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_client.html#adf9a101b1cb0744d7857570fd97847af">setDisplayName</a> </td><td class="markdownTableBodyNone">设置昵称  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_client.html#a075736b286c05ff52cc635774b456fba">getDisplayName</a> </td><td class="markdownTableBodyNone">获取昵称  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_client.html#ae2c63b8bae1b189b3b6e09bf8d3058b9">getUserId</a> </td><td class="markdownTableBodyNone">获得用户标识  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_client.html#a9c45eac84e61df792573e9a1431c2c1d">getState</a> </td><td class="markdownTableBodyNone">获取当前状态  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_client.html#aca4d5642f60d6842ea739501821e4f42">getAppkey</a> </td><td class="markdownTableBodyNone">获取Appkey  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_client.html#a42545af6e531d52d03ea6cc67c4d2936">getCreateParam</a> </td><td class="markdownTableBodyNone">获取创建参数  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_client.html#a235b867cf189da9e767eeb2bd0bca9de">getLoginParam</a> </td><td class="markdownTableBodyNone">获取登录参数  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_client.html#a580669b0424bf7e22db3ccbe059dddba">login</a> </td><td class="markdownTableBodyNone">登录 Juphoon Cloud 平台  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_client.html#abac015a13078c84b06afac69dcd392ff">logout</a> </td><td class="markdownTableBodyNone">登出 Juphoon Cloud 平台  </td></tr>
</table>
<h3><a class="anchor" id="autotoc_md1"></a>
登录事件</h3>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">事件 </th><th class="markdownTableHeadNone">描述  </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_client_callback.html#ab2deb2e2d3c95f848d9dc2baa7c6daff">onLogin</a> </td><td class="markdownTableBodyNone">登录结果回调  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_client_callback.html#a28b0af754882f73b08bb6ea65b03f81c">onLogout</a> </td><td class="markdownTableBodyNone">登出回调  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_client_callback.html#ace087f907d2f8a2413f10d34cfb47337">onClientStateChange</a> </td><td class="markdownTableBodyNone">登录状态变化通知  </td></tr>
</table>
<h3><a class="anchor" id="autotoc_md2"></a>
设备管理</h3>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">方法 </th><th class="markdownTableHeadNone">描述  </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga96a10766264f3c12af531b70cb9c9749">createJCMediaDevice</a> </td><td class="markdownTableBodyNone">创建 <a class="el" href="class_j_c_media_device.html">JCMediaDevice</a> 对象  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga6b14094d4ae4aa265fee79dc65074225">destroyJCMediaDevice</a> </td><td class="markdownTableBodyNone">销毁 <a class="el" href="class_j_c_media_device.html">JCMediaDevice</a> 对象  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a9369379c0d753bf34923ab2618ecb90e">startCameraVideo</a> </td><td class="markdownTableBodyNone">开始自身视频渲染  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a148a565d8a6204ca69f3d45c203f22e3">startVideo</a> </td><td class="markdownTableBodyNone">开始其他端的视频渲染  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a2db87561046eedda073d2fd52b8adce8">stopVideo</a> </td><td class="markdownTableBodyNone">停止视频渲染  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a3e5dbd693aa7d245377e78cb78902018">startAudio</a> </td><td class="markdownTableBodyNone">启动音频  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a007283dc73188577ae32b50849d3d3fd">stopAudio</a> </td><td class="markdownTableBodyNone">停止音频  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a8980c035521b9c5c20afa34fad23293e">startCamera</a> </td><td class="markdownTableBodyNone">开启摄像头  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a201fd2352117c7fbdc03ef10837fc701">stopCamera</a> </td><td class="markdownTableBodyNone">关闭摄像头  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a0716deb7c816c605444f2bb3202e9ef5">switchCamera</a> </td><td class="markdownTableBodyNone">切换摄像头(指定摄像头)  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a2ec180f6fc51367007b854dd0bc2866b">setCameraProperty</a> </td><td class="markdownTableBodyNone">设置摄像头采集属性  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a03f381b320fa23d0476207a7d00e0f34">setScreenCaptureProperty</a> </td><td class="markdownTableBodyNone">设置屏幕共享采集属性  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a7606984cdfd5de27d53399304eee67bf">startVideoFile</a> </td><td class="markdownTableBodyNone">开启视频文件作为视频输入源  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a3ba1260942cdc3a13cb4823ca2c5c4fe">setVideoFileFrame</a> </td><td class="markdownTableBodyNone">逐帧采集视频画面  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a9c6ff0dba1b9f665e530250d01a938fc">stopVideoFile</a> </td><td class="markdownTableBodyNone">关闭逐帧采集画面  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a81003ef7a37a5bdfb923b3912f951bd0">getVideoFileId</a> </td><td class="markdownTableBodyNone">获取文件视频源渲染id  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#ac182570741d286e0939a504f6b0b1dd5">isCameraOpen</a> </td><td class="markdownTableBodyNone">摄像头是否已打开  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a3ca8412131b75ec61ad80d0f030c5b9c">isVideoFileOpen</a> </td><td class="markdownTableBodyNone">文件视频源是否已开启  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#acb427f7249ef1e384b1a910c90c31190">getCamera</a> </td><td class="markdownTableBodyNone">获取当前的摄像头  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#af5d7b21bf998890a10bbf4ea5c3984da">getCameras</a> </td><td class="markdownTableBodyNone">获取摄像头列表  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#ab177fc54d666d727ece18588268fd203">getAudioInputs</a> </td><td class="markdownTableBodyNone">获得当前音频输入设备  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a72ba20f63202cbc61bf2cfc8170045b3">getAudioOutputs</a> </td><td class="markdownTableBodyNone">获得当前音频输出设备  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#aec338b2eea709884722f7c426c924653">getWindows</a> </td><td class="markdownTableBodyNone">获得当前窗口列表  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a8cbda493ef14c4b97ff022948bb15bf1">getDesktops</a> </td><td class="markdownTableBodyNone">获得当前桌面列表  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#a58437ca0b56ea8a5741411fb53713845">isAudioStart</a> </td><td class="markdownTableBodyNone">音频是否已打开  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device.html#ac9126bc9409520132bc21abfebec07c8">getAudioParam</a> </td><td class="markdownTableBodyNone">获得音频参数  </td></tr>
</table>
<h3><a class="anchor" id="autotoc_md3"></a>
设备事件</h3>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">事件 </th><th class="markdownTableHeadNone">描述  </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device_callback.html#a2e1d495e5443274eba03c0962f6c338f">onCameraUpdate</a> </td><td class="markdownTableBodyNone">摄像头变化  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device_callback.html#a85449b5373956c78cded7e2f019d3876">onRenderReceived</a> </td><td class="markdownTableBodyNone">收到第一帧数据  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_device_callback.html#a48192f3dcd9d007b9ee9a91de9975286">onRenderStart</a> </td><td class="markdownTableBodyNone">渲染开始  </td></tr>
</table>
<h3><a class="anchor" id="autotoc_md4"></a>
一对一通话管理</h3>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">方法 </th><th class="markdownTableHeadNone">描述  </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="group___xE4_xB8_x80_xE5_xAF_xB9_xE4_xB8_x80_xE9_x80_x9A_xE8_xAF_x9D_xE6_xA8_xA1_xE5_x9D_x97.html#ga29320972a659ce8eaf4994576103a62c">createJCCall</a> </td><td class="markdownTableBodyNone">创建 <a class="el" href="class_j_c_call.html">JCCall</a> 对象  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="group___xE4_xB8_x80_xE5_xAF_xB9_xE4_xB8_x80_xE9_x80_x9A_xE8_xAF_x9D_xE6_xA8_xA1_xE5_x9D_x97.html#gac72b359f2dde4051c10587703c7bc2ee">destroyJCCall</a> </td><td class="markdownTableBodyNone">销毁 <a class="el" href="class_j_c_call.html">JCCall</a> 对象  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#a6ba5c96565197a35b847a5d8452cbc66">call</a> </td><td class="markdownTableBodyNone">发起一对一呼叫  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#a168fd884512bfd5451ffa5fac83c598b">term</a> </td><td class="markdownTableBodyNone">挂断  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#a8e44cef3051dba33a600042c7a5bf987">answer</a> </td><td class="markdownTableBodyNone">接听  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#a62d7c7454fae84422579e3a6275af243">mute</a> </td><td class="markdownTableBodyNone">静音  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#aae536642d3d5c785c2ce7d9275f8653a">hold</a> </td><td class="markdownTableBodyNone">呼叫保持  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#a058fb76428f0a77f4bbbb8670eec2868">audioRecord</a> </td><td class="markdownTableBodyNone">语音通话录音  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#a21823c0309710331f4cad2aee7429c37">videoRecord</a> </td><td class="markdownTableBodyNone">视频通话录制  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#ae45d0744f3df39cc2c6dc3bb00bb7354">becomeActive</a> </td><td class="markdownTableBodyNone">切换活跃通话  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#adcd6dd97b6737909ae0348a0e714d754">enableUploadVideoStream</a> </td><td class="markdownTableBodyNone">开启关闭视频流发送  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#a34e8adf7b93e4943c83b39de5f5675bf">getCallItems</a> </td><td class="markdownTableBodyNone">获得通话对象列表  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#a4b5e8afc43bd12f877e37a97fec2ff7a">getActiveCallItem</a> </td><td class="markdownTableBodyNone">获得当前活跃的通话  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#a94e37abb045b901e1703b7534f4cc379">sendMessage</a> </td><td class="markdownTableBodyNone">通过通话建立的通道发送数据  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#ae5de3fe2c6d7f16d95e4c79d7389b133">getStatistics</a> </td><td class="markdownTableBodyNone">获得当前通话统计信息  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#aca5e69754bbc89fa94916dcfebfe084c">updateMediaConfig</a> </td><td class="markdownTableBodyNone">更新媒体参数  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#aa6392b58272a396a10d3d857f4704d6a">getMediaConfig</a> </td><td class="markdownTableBodyNone">获得当前的媒体参数  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call.html#a1dd4d26b9ba6685b57dcbcf698a021c6">sendDtmf</a> </td><td class="markdownTableBodyNone">发送DTMF信息  </td></tr>
</table>
<h3><a class="anchor" id="autotoc_md5"></a>
一对一通话事件</h3>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">事件 </th><th class="markdownTableHeadNone">描述  </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call_callback.html#a2188f777767ca071c145d4a50687ce63">onCallItemAdd</a> </td><td class="markdownTableBodyNone">新增通话回调  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call_callback.html#a8fb115155d6bc25139a165310069f92b">onCallItemRemove</a> </td><td class="markdownTableBodyNone">移除通话回调  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call_callback.html#a1ba1c4f09c1f573d9fe2acb5057d6c18">onCallItemUpdate</a> </td><td class="markdownTableBodyNone">通话状态更新回调  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call_callback.html#afb8281abd54bc8c18b77aadfe234a882">onMessageReceive</a> </td><td class="markdownTableBodyNone">通话中收到消息的回调  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call_callback.html#a6e46494780a74ede3c32eac1a64c0190">onMissedCallItem</a> </td><td class="markdownTableBodyNone">上报服务器拉取的未接来电  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_call_callback.html#ac2bb26f070f0235e19ea4671abe83df4">onDtmfReceived</a> </td><td class="markdownTableBodyNone">通话中收到DTMF回调  </td></tr>
</table>
<h3><a class="anchor" id="autotoc_md6"></a>
频道管理</h3>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">方法 </th><th class="markdownTableHeadNone">描述  </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gacaca886fc345f798056ff2b9c2ee11ac">createJCMediaChannel</a> </td><td class="markdownTableBodyNone">创建 <a class="el" href="class_j_c_media_channel.html">JCMediaChannel</a> 对象  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga52a42d0cba9bfcb85d678aaa8f75b024">destroyJCMediaChannel</a> </td><td class="markdownTableBodyNone">销毁 <a class="el" href="class_j_c_media_channel.html">JCMediaChannel</a> 对象  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a3221538f7b3247036b5ac6c257b2eb6d">getChannelId</a> </td><td class="markdownTableBodyNone">获得频道标识  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a3b3f681d12751fafd7445ccd22d9854f">getChannelUri</a> </td><td class="markdownTableBodyNone">获得频道 Uri  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#aa3627122b2260f7caf17a45f9b302c81">getChannelNumber</a> </td><td class="markdownTableBodyNone">获得频道号  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a4085f2a7dc5c265f5b4ef08d2819002c">getState</a> </td><td class="markdownTableBodyNone">返回当前在频道中的状态  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a0a2dcea81b4416b076d626301c1560de">getUploadLocalAudio</a> </td><td class="markdownTableBodyNone">获取本地音频数据是否在上传  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a509d42f6e791d90835d8fcd55604fc17">getUploadLocalVideo</a> </td><td class="markdownTableBodyNone">获取本地视频数据是否在上传  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a3f00a46f5527b53939b0b08d6f60faf2">getAudioOutput</a> </td><td class="markdownTableBodyNone">获取音频是否输出  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a197cc14d94441bedcbef5cb9a97b2abd">getTitle</a> </td><td class="markdownTableBodyNone">返回频道标题  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a12e6030f5453414ab9e39c67de816c65">getScreenRenderId</a> </td><td class="markdownTableBodyNone">获取屏幕共享渲染标识  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#aff3c7fa29f09322d33fefc7789b2bb51">getScreenUserId</a> </td><td class="markdownTableBodyNone">获取开启屏幕共享的用户标识  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a4ae61bc03acd8cf80cd800e343369b24">getRecordState</a> </td><td class="markdownTableBodyNone">获取视频录制状态  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a53d757667a36bf9bd8d4174ffab4bd89">getCdnState</a> </td><td class="markdownTableBodyNone">获得cdn推流状态  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#afeb3c17dc9d0827fe27fa189cd0a5c9e">getSelfParticipant</a> </td><td class="markdownTableBodyNone">获得自身 <a class="el" href="class_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> 对象  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a0c50e7d35a9a7a8a9cf61f7b673b7f7b">getPassword</a> </td><td class="markdownTableBodyNone">获得频道密码  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a2092459c266594ed1e24a1c37528f0c3">getDeliveryUri</a> </td><td class="markdownTableBodyNone">获取推流录制器成员  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#ac45452e8507697cc1e8c6fb7fd8d7f53">getCustomProperty</a> </td><td class="markdownTableBodyNone">获取自定义频道属性  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a2c672a36367e0664f8882b19f68faa33">getCustomRole</a> </td><td class="markdownTableBodyNone">获得自定义角色  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#ad155c1da6a05be33d7d6aa81eee4e736">getCustomState</a> </td><td class="markdownTableBodyNone">获得自定义状态  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#acd44cb564943ffde1ec7d5d4168e4191">inviteSipUser</a> </td><td class="markdownTableBodyNone">邀请Sip用户  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#af7ccf465a6ddb05aa4ff22f5f61eab10">query</a> </td><td class="markdownTableBodyNone">查询频道相关信息  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#acfdb1da52955cf8b01d95527eb28890b">join</a> </td><td class="markdownTableBodyNone">加入频道  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a93c19137044fec1568f73f1f6dbfee84">leave</a> </td><td class="markdownTableBodyNone">离开频道  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a75e1efd53ded5329e957e76079cfcdaf">stop</a> </td><td class="markdownTableBodyNone">关闭频道  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a2b08d87b38fe2fd7a394e2786241cc4c">enableUploadAudioStream</a> </td><td class="markdownTableBodyNone">开启关闭发送本地音频流  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a2b74210bdc3f25810b901542844aee33">enableUploadVideoStream</a> </td><td class="markdownTableBodyNone">开启关闭发送本地视频流  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a0de25ae40ac1c208e08f429e4b469300">setVideoCapture</a> </td><td class="markdownTableBodyNone">设置本地视频文件替代摄像头  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#ad165e3c09e8cc4d2c17d6ad871c2fb44">enableAudioOutput</a> </td><td class="markdownTableBodyNone">开启关闭音频输出  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a86fafab80af2c51a70da0c62aaa3d136">requestVideo</a> </td><td class="markdownTableBodyNone">请求频道中其他用户的视频流  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a8ad6d27084abf660aad7a7f84fd3b9e0">enableScreenOrWindowShare</a> </td><td class="markdownTableBodyNone">开启关闭桌面屏幕共享  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a59f139e31c8ef2190dfc4c976dcf445d">requestScreenVideo</a> </td><td class="markdownTableBodyNone">请求屏幕共享的视频流  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a8bbaf596f564ad3281429470d112c8dc">enableCdn</a> </td><td class="markdownTableBodyNone">开关Cdn推流  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#ae42f44157b2182115f92f88bb89a113f">enableRecord</a> </td><td class="markdownTableBodyNone">开关视频录制  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a0fd6477db77a60df91fa615b814ac796">getParticipant</a> </td><td class="markdownTableBodyNone">获取频道成员  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a3baccb9d05486fb20ff8d206284f609e">getParticipants</a> </td><td class="markdownTableBodyNone">获得所有频道中的成员  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#aa67711141ad0883ad8f2dce0ea631b48">sendMessage</a> </td><td class="markdownTableBodyNone">发送消息  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a6fe15675d841a9c068bfd3afd18b3e90">getStatistics</a> </td><td class="markdownTableBodyNone">获取统计信息  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a449c0e611118f0c46d22b26c1494caac">sendCommand</a> </td><td class="markdownTableBodyNone">发送指令  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a49336d3aa083b45c5dd1768dd43ed0b1">sendCommandToDelivery</a> </td><td class="markdownTableBodyNone">发送命令给推流或录制器  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#ac3190b318a7dcca80a613cea7a93b664">setCustomProperty</a> </td><td class="markdownTableBodyNone">设置频道自定义属性  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a7b6b97e8193f2cf7f2819ec3ca49b813">setCustomRole</a> </td><td class="markdownTableBodyNone">设置自定义角色  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a86b930607cb3cfaf4ba5c51feb0e6146">setCustomState</a> </td><td class="markdownTableBodyNone">设置自定义状态  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#aa5ee1e5334beb9ca63a8dc7110aaf6c0">kick</a> </td><td class="markdownTableBodyNone">将成员踢出会议  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a72e9cae1a64875ff632e3a17f51a0dd1">enableSelfVideoRatio</a> </td><td class="markdownTableBodyNone">设置自身视频宽高比  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a79abca7633c9b01713bc6b4db1ed72d3">startScreenShareVideo</a> </td><td class="markdownTableBodyNone">启动屏幕分享视频渲染  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel.html#a3e449ced4d562de27e4909cd556cdaa4">stopScreenShareVideo</a> </td><td class="markdownTableBodyNone">停止屏幕分享视频渲染  </td></tr>
</table>
<h3><a class="anchor" id="autotoc_md7"></a>
频道事件</h3>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">事件 </th><th class="markdownTableHeadNone">描述  </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel_callback.html#aab5950490321f2c6bd4d9748106973ee">onMediaChannelStateChange</a> </td><td class="markdownTableBodyNone">自身状态变化回调  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel_callback.html#a8ce6d3f4ac16fd55c500f8b4e27f52bb">onMediaChannelPropertyChange</a> </td><td class="markdownTableBodyNone">属性变化回调  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel_callback.html#a430bd78b28e189ee3c9564ddb7db213d">onJoin</a> </td><td class="markdownTableBodyNone">加入频道结果回调  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel_callback.html#a18bc4fae89f0d56fb849075f1603ac71">onLeave</a> </td><td class="markdownTableBodyNone">离开频道结果回调  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel_callback.html#a61a1d5a81563d34f80e70541a114a74a">onStop</a> </td><td class="markdownTableBodyNone">解散频道结果回调  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel_callback.html#a864db3251f12affc38f7c95c7fdccab1">onQuery</a> </td><td class="markdownTableBodyNone">查询频道信息结果回调  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel_callback.html#adf004e70eb654a1afbf0f3f64a76e8b8">onParticipantJoin</a> </td><td class="markdownTableBodyNone">新成员加入回调  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel_callback.html#a5888058878f3aaa382b3ede94228a6e8">onParticipantLeft</a> </td><td class="markdownTableBodyNone">成员离开回调  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel_callback.html#a6cfa3d92848a80daa60ebc74a54c7042">onParticipantUpdate</a> </td><td class="markdownTableBodyNone">成员更新回调  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel_callback.html#a6f6b72922ebc576d94f55dc153b1209d">onMessageReceive</a> </td><td class="markdownTableBodyNone">接收频道消息的回调  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel_callback.html#a25085c8e32313847c986582d45753357">onInviteSipUserResult</a> </td><td class="markdownTableBodyNone">邀请Sip用户操作结果回调  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone"><a class="el" href="class_j_c_media_channel_callback.html#adea3e7e31e00251081ade1adb2e23f31">onParticipantVolumeChange</a> </td><td class="markdownTableBodyNone">成员声音变化  </td></tr>
</table>
</div></div><!-- PageDoc -->
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
